﻿@model List<Downloader.Web.Controllers.ViewModels.CategoryViewModel>
@{
    foreach (var category in Model)
    {
    <div class="productTitle">
        <span>
                <a href="@Url.Action("ImgList", "List", new { categoryId = @category.Id, pageIndex = 1, pageSize = 20 })">@category.Name</a>
        </span>
    </div>
    <ul>
        @{Html.RenderAction("ProductTitleList", "WebPart", new { categoryId = category.Id });
    }
    </ul>
    }
}